package com.sport.entity;
import cn.hutool.core.annotation.Alias;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.sport.utils.StringListDeserializer;
import io.swagger.v3.oas.annotations.media.Schema;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;
import java.util.Map;

@Data
@Tag(name = "产品属性")
@TableName("Productlabeling")
@EqualsAndHashCode(callSuper = false)

public class Productlabeling {

    @Alias("香烟编号")
    @Schema(title = "香烟编号", description = "")
    private Integer productId;

    @Alias("品规名称")
    @Schema(title = "品规名称", description = "")
    private String productname;

    @Alias("价位段")
    @Schema(title = "价位段", description = "")
    private String pricesegment;

    @Alias("香型")
    @Schema(title = "香型", description = "")
    private String flavortype;

    @Alias("烟气焦油量")
    @Schema(title = "烟气焦油量", description = "")
    private String tarcontent;

    @Alias("烟气一氧化碳量")
    @Schema(title = "烟气一氧化碳量", description = "")
    private String cocontent;

    @Alias("价类")
    @Schema(title = "价类", description = "")
    private String pricecategory;

    @Alias("卷烟长度")
    @Schema(title = "卷烟长度", description = "")
    private String cigarettelength;

    @Alias("卷烟圆周")
    @Schema(title = "卷烟圆周", description = "")
    private String cigarettecircumference;

    @Alias("卷烟结构")
    @Schema(title = "卷烟结构", description = "")
    private String cigarettestructure;

    @Alias("包装形式")
    @Schema(title = "包装形式", description = "")
    private String packagingform;

    @Alias("包装设计")
    @Schema(title = "包装设计", description = "")
    private String packagingdesign;

    @Alias("品规属性")
    @Schema(title = "品规属性", description = "")
    @JsonDeserialize(using = StringListDeserializer.class)
    private List<String> brandattribute;

    @Alias("产地")
    @Schema(title = "产地", description = "")
    private String origin;

    @Alias("价格定位")
    @Schema(title = "价格定位", description = "")
    private String pricepositioning;

    @Alias("品牌形象")
    @Schema(title = "品牌形象", description = "")
    private String brandimage;

    @Alias("个性特征")
    @Schema(title = "个性特征", description = "")
    @JsonDeserialize(using = StringListDeserializer.class)
    private List<String> personalitytraits;

    @Alias("年龄")
    @Schema(title = "年龄", description = "")
    @JsonDeserialize(using = StringListDeserializer.class)
    private List<String> age;

    @Alias("性别")
    @Schema(title = "性别", description = "")
    @JsonDeserialize(using = StringListDeserializer.class)
    private List<String> gender;

    @Alias("收入")
    @Schema(title = "收入", description = "")
    private String income;

    @Alias("职业背景")
    @Schema(title = "职业背景", description = "")
    private String occupationalbackground;

    @Alias("消费动机")
    @Schema(title = "消费动机", description = "")
    @JsonDeserialize(using = StringListDeserializer.class)
    private List<String> consumptionmotivation;

    @Alias("心理特征")
    @Schema(title = "心理特征", description = "")
    private String psychologicalcharacteristics;

}
